﻿/// <reference path="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.4.4-vsdoc.js" />

/*
JavaScript functions for the Settings.aspx page
*/

$(document).ready(function () {

    //get the page request manager
    var pageReqMgr = Sys.WebForms.PageRequestManager.getInstance();

    //add request for disabling content when UpdatePanel begins loading
    pageReqMgr.add_beginRequest(DisableContent);

});

function DisableContent() {

    // disable all input and select elements
    $('input').attr('disabled', 'disabled');
    $('select').attr('disabled', 'disabled');
}